package dao;

public abstract class AbstractTable {

	abstract public long getId();

	abstract public String getValue();

	@Override
	public String toString() {
		return this.getValue();
	}

	@Override
	public boolean equals(Object obj) {
		if (this.getId() == ((AbstractTable) obj).getId()) return true;
		return false;
	}
}
